import request from '@/utils/request'

export function pageAll(query) {
  return request({
    url: '/api/adminPayCore/payHelperUrlConfiguration/list',
    method: 'post',
    data: query
  })
}

export function addObj(obj) {
  return request({
    url: '/api/adminPayCore/payHelperUrlConfiguration/add',
    method: 'post',
    data: obj
  })
}

export function updateObj(obj) {
  return request({
    url: '/api/adminPayCore/payHelperUrlConfiguration/update',
    method: 'post',
    data: obj
  })
}

export function deleteObj(obj) {
  return request({
    url: '/api/adminPayCore/payHelperUrlConfiguration/delete',
    method: 'post',
    data: obj
  })
}

export function deviceData(obj) {
  return request({
    url: '/api/adminPayCore/payOrders/deviceCount',
    method: 'post',
    data: obj
  })
}
